﻿@model CSEPT.Models.UserViewModel
@{
    ViewBag.Title = "Change Password";
}
<h2>Change Password</h2>
<form class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4" id="NewUser" action="@Url.Action("UpdatePassword", "User")" method="post">
    @Html.HiddenFor(model => model.usr.ID)
    <div class="col-xs-12 form-group">
        <label class="control-label">Old Password</label>
        @Html.Password("OldPassword", "", new { @placeholder = "Old Password", @class = "form-control required" })
    </div>
    <div class="col-xs-12 form-group">
        <label class="control-label">New Password</label>
        @Html.Password("NewPassword", "", new { @placeholder = "New Password", @class = "form-control required" })
    </div>

    <div class="col-xs-12">
        <button class="btn btn-block btn-primary">Submit</button>
    </div>
</form>